#include "server_wight.h"
#include <QApplication>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    a.setStyleSheet("QLineEdit {"
                     "background-color: #F0F0F0;"  // 设置背景颜色
                     "border: 1px solid #CCCCCC;"  // 设置边框
                     "border-radius: 5px;"          // 设置边框圆角
                     "padding: 2px;"                // 设置内边距
                     "min-width: 100px;"
                     "max-width: 150px;"
                     "min-height: 15px;"
                     "max-height: 15px;"
                     "}");

    Server_wight w;
    w.setFixedSize(265,320);
    w.show();

    return a.exec();
}
